/*
 * @Author: ZhaoZhiqi
 * @Date: 2022-09-23 13:42:54
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2022-09-23 13:49:35
 * @Description: 获取openId
 * @FilePath: \tuanfeng-mini\src\api\login.js
 */

import request from "./request";

/**
 * @description: 获取openId
 * @param {string} code
 * @return {*}
 */
export function getOpenIdAPI(data) {
    return request(`app/getOpenId/${data.code}`, 'GET', data) 
}